package com.whminwei.edu.api.tchbase.client;

import com.whminwei.common.feign.decoder.FullHttpRspnConfig;
import com.whminwei.common.http.rspn.FullHttpResponse;
import com.whminwei.edu.api.tchbase.dto.fspn.CourseFspn;
import com.whminwei.edu.api.tchbase.dto.fspn.DisciplineFspn;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

/**
 * @author zhangzf
 * @since 2024/6/25
 **/
@FeignClient(name = "xzzg-pt-tch-base-service", contextId = "discipline-info", configuration = FullHttpRspnConfig.class)
public interface DisciplineClient {

    /**
     * 查询学科列表(包含学科下的老师)
     *
     * @return FullHttpResponse<DisciplineFspn>
     * @author zhangzf
     * @since 2024/7/9
     */
    @PostMapping("/discipline/getDisciplineList")
    FullHttpResponse<DisciplineFspn> getDisciplineList();
}
